package com.kws.commercial.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kws.commercial.dao.CommercialContractTemplate;
import com.kws.commercial.dao.Info.QueryContractTemplatePageInfo;
import com.kws.commercial.dao.Rq.QueryContractTemplatePageRq;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ContractTemplateMapper extends BaseMapper<CommercialContractTemplate> {

    List<QueryContractTemplatePageInfo> queryContractTemplatePage(@Param("contractTemplateName") String contractTemplateName,@Param("contractType") String contractType,@Param("companyId") Long companyId);

    QueryContractTemplatePageInfo queryContractTemplateById(@Param("id") Long id);
}
